package com.fesine.ch02.innerTest1;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/7/7 10:47
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/7/7 10:47
 */
public class Run {
    public static void main(String[] args) {
        final OutClass.InnerClass inner = new OutClass.InnerClass();
        Thread t1 = new Thread(new Runnable() {
            @Override
            public void run() {
                inner.method();
            }
        }, "A");
        Thread t2 = new Thread(new Runnable() {
            @Override
            public void run() {
                inner.method2();
            }
        }, "B");
        t1.start();
        t2.start();
    }
}
